package cn.shengchao.qywx.infrastrure.mapper;

import cn.shengchao.examstar.rpc.wecom.dto.UserContactMeQrcodeCheckVo;
import cn.shengchao.examstar.rpc.wecom.req.CpUserInvitePageQuery;
import cn.shengchao.examstar.rpc.wecom.resp.CpUserCustomerVo;
import cn.shengchao.qywx.infrastrure.po.QywxUserServiceInvite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QywxUserServiceInviteMapper extends BaseMapper<QywxUserServiceInvite> {

    List<CpUserCustomerVo> queryCpUserInvitePage(@Param("query") CpUserInvitePageQuery cpUserInvitePageQuery);

    UserContactMeQrcodeCheckVo queryCpUserCheckVo(Long reqUserId);

    UserContactMeQrcodeCheckVo queryCpUserUpperCheckVo(Long reqUserId);
}